@charset "UTF-8";
* {
  font-family: '微软雅黑', 'Microsoft YaHei', '宋体', Tahoma, Helvetica, Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

html {
  height: 100%;
  min-height: 100%;
}

body {
  font-family: '微软雅黑', 'Microsoft YaHei', '宋体', Tahoma, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #757575;
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #f7f7f7;
}

// 初始加载动画
.splash-logo {
  left: 50%;
  top: 50%;
  margin-left: -26px;
  margin-top: -30px;
  z-index: 2;
  position: absolute;
  width: 54px;
}

.splash-loader,
.splash-loader::before,
.splash-loader::after {
  left: 50%;
  top: 50%;
  margin-left: -45px;
  margin-top: -45px;
  position: absolute;
  vertical-align: middle;
  background: #c3002f;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  z-index: 1;
}

.splash-loader::before {
  content: "";
  animation: bounce 1.5s infinite;
}

.splash-loader::after {
  content: "";
  animation: bounce 1.5s -0.4s infinite;
}

@keyframes bounce {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

@-webkit-keyframes bounce {
  0% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

.splash-screen {
  background-color: #282828;
  height: 100%;
}

//主体布局样式，分topbar、layout-menu-wrapper、layout-content、layout-footer共4个大区域
.layout-wrapper {
  .topbar {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    color: #757575;
    height: 70px;
    padding: 12px 15px;
    border-bottom: solid 1px #dee4e9;
    z-index: 100;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ffffff;
    .topbar-logo {
      cursor: pointer;
      font-size: 24px;
      img {
        height: 40px;
        width: 30px;
      }
    }
    .menu-button {
      vertical-align: middle;
      font-size: 24px;
      margin-left: 20px;
      -moz-transition: color 0.3s;
      -o-transition: color 0.3s;
      -webkit-transition: color 0.3s;
      transition: color 0.3s;
      text-decoration: none;
    }
    .menu-button:hover {
      color: #e7ba08;
    }
    .fa-search {
      font-size: 16px;
      vertical-align: middle;
      margin-left: 36px;
    }
    .topbar-search {
      vertical-align: middle;
      border: 0 none;
      background-color: transparent;
      color: #757575;
      -moz-transition: color 0.3s;
      -o-transition: color 0.3s;
      -webkit-transition: color 0.3s;
      transition: color 0.3s;
    }
    .topbar-search:focus {
      outline: 0 none;
    }
    .topbar-search:-webkit-input-placeholder {
      color: #757575;
    }
    .topbar-search:-moz-placeholder {
      color: #757575;
    }
    .topbar-search:-moz-placeholder {
      color: #757575;
    }
    .topbar-search:-ms-input-placeholder {
      color: #757575;
    }
    a {
      color: #757575;
      font-size: 16px;
      text-decoration: none;
      padding-top: 5px;
      display: block;
      float: left;
    }
    .user-display {
      float: right;
      text-align: right;
      margin-top: 2px;
      text-decoration: none;
      img {
        vertical-align: middle;
        width: 40px;
        margin-right: 8px;
      }
      .username {
        -moz-transition: color 0.3s;
        -o-transition: color 0.3s;
        -webkit-transition: color 0.3s;
        transition: color 0.3s;
        vertical-align: middle;
        margin-right: 8px;
        color: #fff;
      }
      .fa {
        -moz-transition: color 0.3s;
        -o-transition: color 0.3s;
        -webkit-transition: color 0.3s;
        transition: color 0.3s;
        font-size: 16px;
        vertical-align: middle;
        color: #757575;
      }
    }
    .user-display:hover .username,
    .user-display:hover .fa {
      color: #e7ba08;
    }
    .topbar-menu {
      display: none;
      position: absolute;
      right: 15px;
      top: 70px;
      width: 250px;
      list-style-type: none;
      padding: 0;
      margin: 0;
      background-color: #ffffff;
      -webkit-animation-duration: .5s;
      -moz-animation-duration: .5s;
      animation-duration: .5s;
      -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
      -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
      box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
      li {
        a {
          color: #7d8286;
          padding: 10px 16px;
          display: block;
          float: none;
          i {
            display: inline-block;
            vertical-align: middle;
          }
          span {
            margin-left: 6px;
            display: inline-block;
            vertical-align: middle;
          }
          img {
            display: inline-block;
            vertical-align: middle;
          }
          .topbar-badge {
            float: right;
            background-color: #36ae2c;
            padding: 2px 8px;
            display: block;
            margin-top: -2px;
            color: #ffffff;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
          }
           :hover {
            background-color: #F6F9FB;
          }
        }
        ul {
          list-style-type: none;
          padding: 0;
          margin: 0;
          display: none;
          a {
            padding-left: 32px;
          }
        }
        .menuitem-active {
          a {
            color: #3984b8;
          }
          ul {
            display: block;
          }
        }
      }
    }
    .topbar-menu-visible {
      display: block;
    }
  }
  .topbar-dark {
    border-bottom: solid 1px #555;
    background-color: #282828;
    a {
      color: #fff;
    }
  }
  .layout-menu-wrapper {
    position: fixed;
    top: 70px;
    height: 100%;
    width: 240px;
    z-index: 999999997;
    border-right: solid 1px #dee4e9;
    background-color: #ffffff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: left 0.3s;
    -o-transition: left 0.3s;
    -webkit-transition: left 0.3s;
    transition: left 0.3s;
    .sidebar-scroll-content {
      display: block;
      height: 100%;
      position: relative;
      .menu-container {
        padding-bottom: 80px;
      }
    }
    .mobile-search {
      display: none;
    }
    .layout-menu {
      list-style-type: none;
      margin: 0;
      padding: 0 0 120px 0;
      box-sizing: border-box;
      li>a {
        position: relative;
        color: #7d8286;
        text-decoration: none;
        padding: 10px 16px;
        display: block;
        box-sizing: border-box;
        font-size: 13px;
      }
      li>a .menu-badge {
        position: absolute;
        right: 15px;
        top: 13px;
        color: #ffffff;
        padding: 2px 6px;
        background-color: #36ae2c;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
      }
      li>a .fa {
        vertical-align: middle;
        font-size: 16px;
      }
      li>a .fa:last-child {
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        float: right;
      }
      li>a span {
        vertical-align: middle;
        margin-left: 10px;
      }
      li>a:hover {
        background-color: #F6F9FB;
      }
      li>a:hover .menu-badge {
        color: #ffffff;
      }
      li>a.active-menuitem-routerlink {
        color: #3984b8;
      }
      li.active-menuitem>a {
        border-bottom: 0 none;
        background-color: #F6F9FB;
        color: #3984b8;
      }
      li.active-menuitem>a .fa:last-child {
        -webkit-transform: rotate(-180deg);
        -moz-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        -ms-transform: rotate(-180deg);
        transform: rotate(-180deg);
      }
      li>ul {
        overflow: hidden;
        list-style-type: none;
        margin: 0;
        padding: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
      }
      li>ul li a {
        padding-left: 32px;
      }
      li>ul li>ul li a {
        padding-left: 48px;
      }
      li>ul li>ul li>ul li a {
        padding-left: 64px;
      }
      li>ul li>ul li>ul>ul li a {
        padding-left: 80px;
      }
      li>ul li>ul li>ul>ul>ul li a {
        padding-left: 96px;
      }
      li>ul li>ul li>ul>ul>ul>ul li a {
        padding: 112px;
      }
      li>ul li>ul li>ul>ul>ul>ul>ul li a {
        padding: 128px;
      }
      li .layout-menu-tooltip {
        display: none;
        padding: 0 5px;
        position: absolute;
        left: 76px;
        top: 8px;
        z-index: 101;
        line-height: 1;
      }
      li .layout-menu-tooltip .layout-menu-tooltip-text {
        padding: 6px 8px;
        font-weight: 700;
        background-color: #515459;
        color: #ffffff;
        min-width: 75px;
        white-space: nowrap;
        text-align: center;
        -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
      }
      li .layout-menu-tooltip .layout-menu-tooltip-arrow {
        position: absolute;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        top: 50%;
        left: 0;
        margin-top: -5px;
        border-width: 5px 5px 5px 0;
        border-right-color: #515459;
      }
    }
    .nano .nano-pane .nano-slider {
      background-color: #aaaaaa;
      opacity: 0.3;
      filter: alpha(opacity=30);
    }
  }
  .layout-menu-dark {
    background-color: #282828;
    border-right-color: #45484b;
    .mobile-search {
      i {
        color: #ffffff;
      }
      input {
        background-color: transparent;
        color: #ffffff;
      }
    }
    .layout-menu {
      li {
        a {
          color: #ffffff;
        }
        a:hover {
          background-color: #515459;
        }
        a.active-menuitem-routerlink {
          color: #93bfde;
        }
        .active-menuitem>a {
          background-color: #6a6e73;
        }
      }
    }
  }
  .layout-content {
    min-height: 600px;
    padding: 15px;
    margin-right: 15px;
    margin-top: 85px;
    margin-bottom: 15px;
    background-color: #ffffff;
    -moz-transition: margin-left 0.3s;
    -o-transition: margin-left 0.3s;
    -webkit-transition: margin-left 0.3s;
    transition: margin-left 0.3s;
    .content-panel-title {
      font-size: 24px;
    }
  }
  .layout-footer {
    background-color: #ffffff;
    border-top: 1px solid #dee4e9;
    border-bottom: 1px solid #dee4e9;
    padding: 15px;
    text-align: center;
    img {
      width: 100px;
    }
    .layout-footer-right {
      float: right;
    }
    a {
      color: #7d8286;
      font-size: 18px;
      margin-left: 12px;
    }
  }
}

//以下是响应式布局，还有些问题需要调整一下
@media (min-width: 641px) {
  .layout-menu-static {
    .layout-menu-wrapper {
      padding-top: 15px;
      left: 0;
    }
    .layout-content {
      margin-left: 255px;
    }
    .layout-footer {
      margin-left: 255px;
    }
  }
  .layout-menu-static-inactive {
    .layout-menu-wrapper {
      left: -240px;
    }
    .layout-content {
      margin-left: 0;
    }
    .layout-footer {
      margin-left: 0;
    }
  }
  .layout-menu-slim {
    .layout-menu-wrapper {
      padding-top: 15px;
      width: 75px;
      overflow: visible;
      z-index: 100;
      left: 0;
      .nano {
        overflow: visible;
        .nano-content {
          overflow: visible;
          margin-right: 0px !important;
        }
        .nano-pane {
          display: none !important;
        }
      }
      .layout-menu {
        padding: 0;
      }
      .layout-menu>li {
        position: relative;
      }
      .layout-menu>li>a {
        text-align: center;
        padding: 10px 16px;
      }
      .layout-menu>li>a i:first-child {
        font-size: 19px;
      }
      .layout-menu>li>a span,
      .layout-menu>li>a i:last-child {
        display: none;
      }
      .layout-menu>li>a:hover+.layout-menu-tooltip {
        display: block;
      }
      .layout-menu>li>ul {
        -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
        background-color: #ffffff;
        position: absolute;
        top: 0;
        left: 76px;
        min-width: 200px;
        li a {
          padding-left: 16px;
        }
        li ul li a {
          padding-left: 32px;
        }
        li ul ul li a {
          padding-left: 48px;
        }
        li ul ul ul li a {
          padding-left: 64px;
        }
        li ul ul ul ul li a {
          padding: 80px;
        }
        li ul ul ul ul ul li a {
          padding: 96px;
        }
      }
      .layout-menu>li.active-menuitem>a:hover+.layout-menu-tooltip {
        display: none;
      }
    }
    .layout-menu-dark .layout-menu>li>ul {
      background-color: #282828;
      left: 75px;
    }
    .layout-content {
      margin-left: 90px;
    }
    .layout-footer {
      margin-left: 90px;
    }
  }
}

@media (max-width: 640px) {
  .layout-wrapper {
    .layout-menu-wrapper {
      padding-top: 15px;
      left: -240px;
      z-index: 100;
      .mobile-search {
        display: block;
        padding: 10px 16px;
      }
      .mobile-search .fa {
        font-size: 16px;
      }
      .mobile-search input {
        border: 0 none;
        font-size: 13px;
        font-family: "Roboto", "Helvetica Neue", sans-serif;
        padding-left: 6px;
        color: #757575;
      }
      .mobile-search input:focus {
        outline: 0 none;
      }
    }
    .layout-content {
      margin-left: 0;
    }
    .layout-footer {
      margin-left: 0;
    }
    .topbar {
      .topbar-logo {
        width: 144px;
        display: block;
        margin: 0 auto;
        font-size: 24px;
        font-weight: bold;
        padding-top: 15px;
      }
      .topbar-search-icon,
      .topbar-search {
        display: none;
      }
      .menu-button {
        font-size: 24px;
        float: left;
        margin-left: 0;
        margin-top: -36px;
      }
    }
    .layout-mask {
      position: fixed;
      width: 100%;
      height: 100%;
      background-color: #424242;
      top: 0;
      left: 0;
      z-index: 999999997;
      opacity: 0.9;
      filter: alpha(opacity=90);
    }
  }
  .layout-menu-active {
    .topbar {
      z-index: 999999998;
    }
    .layout-menu-wrapper {
      left: 0;
      z-index: 999999999;
    }
  }
}
